Syntax
'Declaration
<Android.Runtime.RegisterAttribute("onCreateViewHolder",
"(Landroid/view/ViewGroup;I)Landroid/support/v7/widget/RecyclerView$ViewHolder;",
"GetOnCreateViewHolder_Landroid_view_ViewGroup_IHandler")>
Public Overrides NotOverridable Function OnCreateViewHolder( _
ByVal As Android.Views.ViewGroup, _
ByVal As Integer _
) As Android.Support.V7.Widget.RecyclerView.ViewHolder
'Usage
Dim instance As C1RecyclerViewAdapter(Of T)
Dim parent As Android.Views.ViewGroup
Dim viewType As Integer
Dim value As Android.Support.V7.Widget.RecyclerView.ViewHolder
value = instance.OnCreateViewHolder(parent, viewType)
[Android.Runtime.Register("onCreateViewHolder",
"(Landroid/view/ViewGroup;I)Landroid/support/v7/widget/RecyclerView$ViewHolder;",
"GetOnCreateViewHolder_Landroid_view_ViewGroup_IHandler")]
public override Android.Support.V7.Widget.RecyclerView.ViewHolder OnCreateViewHolder(
Android.Views.ViewGroup ,
int
)
Parameters
- parent
- viewType
See Also